"""
面试题:
is与==的区别?
== 比较的是值是否相等
is :比较的内存地址是否相等
"""
# a="张三"
# b="张三"
# print(a==b)
# print(a is b)
list1=[1,2,3]
list2=[1,2,3]
print(list1==list2)
# print(list1 is list2)
# # 打印内存地址
# print(id(list1))
# print(id(list2))